{include file="header.html"}

<script type="text/javascript">
//<!CDATA[
$(function(){
    $('.west').tipsy({gravity: 'w',title:'tips'});
    
    $('#user_form').validate({
        errorPlacement: function(error, element){
            $(element).next('.field_notice').hide();
            $(element).after(error);
        },
        success: function(label){
            label.addClass('right').text('OK!');
        },
        onkeyup: false,
        rules:{
            username: 'required',
            password: {
                required:true,
                maxlength: 16,
                minlength: 6
            }
        },
        messages:{
            username:'{$lang.enter_username}',
            password: {
                required:'{$lang.password_required}',
                maxlength: '{$lang.password_length}',
                minlength: '{$lang.password_length}'
            }
        }
    });
    
});
//]]>
</script>

<div id="rightTop">
  <p>{$lang.manager_add}</p>
  <ul class="subnav">
    <li><a class="btn1" href="{php echo site_url('admin/manager')}">{$lang.manager_center}</a></li>
  </ul>
</div>
<div class="info">
    <form id="user_form" method="post">
    <table class="infoTable">
      <tr>
        <th class="paddingT15"><label for="username"> {$lang.username}:</label></th>
        <td class="paddingT15 wordSpacing5">
            <input type="text" name="username" class="infoTableInput2">
        </td>
      </tr>
      <tr>
        <th class="paddingT15"><label for="real_name"> {$lang.real_name}:</label></th>
        <td class="paddingT15 wordSpacing5">
            <input type="text" name="realname" class="infoTableInput2">
        </td>
      </tr>
      <tr>
        <th class="paddingT15"><label for="newpassword"> {$lang.password}:</label></th>
        <td class="paddingT15 wordSpacing5">
            <input type="password" name="password" class="infoTableInput2">
        </td>
      </tr>
      <tr>
        <th class="paddingT15"><label for="newpassword"> {$lang.islock}:</label></th>
        <td class="paddingT15 wordSpacing5">
            <input type="radio" name="islock" value="Y"> 是 <input type="radio" name="islock" value="N" checked> 否
        </td>
      </tr>
      <tr>
        <th></th>
        <td class="ptb20">
            <input id="submitbtn" class="formbtn" type="submit" name="Submit" value="{$lang.submit}" />
          <input class="formbtn" type="reset" name="Submit2" value="{$lang.reset}" />
        </td>
      </tr>
    </table>
  </form>
</div>
{include file="footer.html"}
